<%form_remote_tag :url=> customer_contact_url(@customer, @contact), :before => "spinnerOn('contacts');", :complete => "spinnerOff('contacts');", :method => :put do %>
<div class="container">
    <%=render :partial => 'contacts/form' %>
    <div style="clear:both">
    </div>
</div>
<div class="buttons">
    <%=button_cancel 'contacts', customer_contacts_url(@customer) %><%=button_ok %>
</div>
<div style="clear:both">
</div>
<%end %>